<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
    <title></title>

    <link href="Public/lib/ionic/css/ionic.min.css" rel="stylesheet">
    <link href="Public/style/css/style.css" rel="stylesheet">

    <!-- IF using Sass (run gulp sass first), then uncomment below and remove the CSS includes above
    <link href="css/ionic.app.css" rel="stylesheet">
    -->

    <!-- ionic/angularjs js -->
    <script src="Public/lib/ionic/js/ionic.bundle.js"></script>

    <!-- your app's js -->
    <script src="Public/javascript/app.js"></script>
    <script src="Public/javascript/controllers.js"></script>
    <script src="Public/javascript/services.js"></script>
  </head>
  <body ng-app="starter">
    <!--
      The nav bar that will be updated as we navigate between views.
    -->
    <ion-nav-bar class="bar-assertive">
      <ion-nav-back-button>
      </ion-nav-back-button>
    </ion-nav-bar>

    <!-- === 内容 === -->
    <ion-nav-view></ion-nav-view>
    <!-- === / 内容 === -->

    <!-- === 底部菜单 === -->
    <ion-tabs class="tabs-icon-top tabs-color-active-positive" ng-controller="NavCtrl">
      <!-- Dashboard Tab -->
      <ion-tab  title="店铺二维码" icon-off="ion-ios-pulse" icon-on="ion-ios-pulse-strong"  ng-click="elementPopover('left')" >
        <ion-nav-view name="code"></ion-nav-view>
      </ion-tab>

      <!-- Chats Tab -->
      <ion-tab title="商户管理" icon-off="ion-ios-chatboxes-outline" icon-on="ion-ios-chatboxes" ng-click="openPopover($event)" >
      </ion-tab>

      <!-- Account Tab -->
      <ion-tab  title="老板后台" icon-off="ion-ios-gear-outline" icon-on="ion-ios-gear" ng-click="elementPopover('right')" >
      </ion-tab>
    </ion-tabs>
    <!-- === \ 底部菜单 === -->

<!-- 泡芙菜单 -->
<script  id="code.html" type="text/ng-template">
  <ion-popover-view>
        创建二维码
  </ion-popover-view>
</script>

<script  id="shops.html" type="text/ng-template">
  <ion-popover-view>
    <ion-list class="items4">
      <ion-item  href="#/shops">
        创建
      </ion-item>
      <ion-item href="#/boss">
        员工绑定
      </ion-item>
      <ion-item  href="#/code">
        订单列表
      </ion-item>
      <ion-item href="#">
        操作日志
      </ion-item>
    </ion-list>
  </ion-popover-view>
</script>

  </body>
</html>
